#ifndef GDN_MUSIC_H
#define GDN_MUSIC_H

#include <SFML/Audio.hpp>

#include <string>

namespace gdn
{
	class Music
	{
		public:
			bool LoadFromFile( const std::string& filename );

			void SetLoop( bool theLoop );
			bool GetLoop() const;

			void SetOffset( float theOffset );
			float GetOffset() const;

			void SetVolume( float theVolume );
			float GetVolume() const;

			void Play();
			void Pause();
			void Stop();

			bool IsPlaying() const;

		protected:
			sf::Music music;
	};
}

#endif // GDN_MUSIC_H
